

import sqlobject
#from sqlobject.mysql import builder
#connection = builder()(user='root', passwd='', host='localhost', db='Coptur')


# https://www.ibm.com/developerworks/cn/opensource/os-pythonsqlo/index.html

#for SQLite
#from sqlobject.sqlite import builder
#connect = builder()('./database/database.sqlite')


#for mysql
from sqlobject.mysql import builder
connect = builder()(user='root', password='',host='localhost', db='Coptur')
